//
//  CheckiPhoneTool.h
//  DWBeautiful
//
//  Created by mac on 2018/9/25.
//  Copyright © 2018年 杨洋. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,iPhoneType)
{
    iPhoneType_X,
    iPhoneType_XS,
    iPhoneType_XS_Max,
    iPhoneType_XR
};

@interface CheckiPhoneTool : NSObject

/** (枚举)检测设备是iPhone X、iPhone XS、iPhone XS Max、iPhone XR */
+(iPhoneType)checkiPhoneType;
/** (字符串类型)检测设备是iPhone X、iPhone XS、iPhone XS Max、iPhone XR */
+(NSString *)checkiPhoneTypeForStringInfo;
+ (NSString *)machineName1;
+ (NSString *)machineName2;
/** iPhone X、iPhone XS、iPhone XS Max、iPhone XR均返回YES */
+ (BOOL)isiPhoneX;

@end

NS_ASSUME_NONNULL_END
